package com.tepth.remote.control.base.config;

/**
 * Description:
 *
 * @author Hequn.Lee
 * @date 2018/11/18
 */
public class ApiDictionary {

    private static final boolean DEBUG = false;

    /**
     * Soap请求主地址
     */
    public static final String SOAP_HOST = DEBUG ? "http://192.168.1.18:11918" : "http://gpsapi.tepth.com.cn";
    /**
     * Retrofit请求主地址
     */
    public static final String RETROFIT_HOST = DEBUG ? "http://192.168.1.18:8982" : "http://gps.tepth.com.cn";
    /**
     * Soap请求的命名空间
     */
    public static final String SOAP_NAME_SPACE = DEBUG ? "http://192.168.1.18:11918/" : "http://gpsapi.tepth.com.cn/";

    /**
     * Soap请求的旧命名空间
     */
    public static final String SOAP_OLD_NAME_SPACE = DEBUG ? "http://192.168.1.18:8982/" : "http://gps.tepth.com.cn/";

    /**
     * 获取配置文件
     */
    public static final String API_GET_CONFIG = "/PhoneApi/getconfig.ashx";

    /**
     * 添加GPS数据
     */
    public static final String API_ADD_GPS = "AddGpsData";

    /**
     * 获取下属人员数量
     */
    public static final String API_GET_SUBORDINATE_NUMBER = "SelectMyUserNewestGpsInfos";

    /**
     * 获取下属人员GPS信息
     */
    public static final String API_GET_SUBORDINATE_GPS = "SelectNewestGpsInfos";

    /**
     * 获取围栏坐标集合
     */
    public static final String API_GET_FENCES = "GetElecFenceInfoById";

    /**
     * 获取消息列表
     */
    public static final String API_GET_MESSAGE = "GetMyMessages";

    /**
     * 获取文件列表
     */
    public static final String API_FILE_LIST = "/phoneapi/filelist.ashx";

    /**
     * 获取请假申请列表
     */
    public static final String API_GET_APPLY_LIST = "GetApplyList";
    /**
     * 处理请假
     */
    public static final String API_HANDLE_EXCEPTION = "HandleException";
    /**
     * 获得请假配置列表
     */
    public static final String API_GET_EXCEPTION_LIST = "GetExceptionList";
    /**
     * 上传图片
     */
    public static final String API_UPLOAD_PICTURE = "UploadPhoneImage";
    /**
     * 检测版本更新
     */
    public static final String API_CHECK_VERSION = "/phoneapi/androidversion.ashx";
    /**
     * 获取服务器时间
     */
    public static final String API_GET_SERVICE_DATE = "GetServiceDate";
}
